<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0"> 
<title>spittles</title>
</head>
<body>
	<c:forEach items="${spittles}" var="spittle">
		<li id="spittle_<c:out value="spittle.id"/>">
			<div>
				<c:out value="${spittle.message }"></c:out>
			</div>
			<div>
				<c:out value="${spittle.time }"></c:out>
			</div>
		</li>
	</c:forEach>
</body>
</html>